package com.wwtech.epp.ui.activity.friend.contract;

import com.wwtech.epp.entity.User;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.Map;

/**
 * @author hzp
 * @Package The contract for UserDetailActivity
 * @Description: $description
 * @date 2017/08/31 21:45:09
 */
public interface UserDetailContract {
    interface View extends BaseView<UserDetailContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void setUserInfo(User user);

        void onAddFriendSuccess();
    }

    interface UserDetailContractPresenter extends BasePresenter {
        /**
         *
         */
        void getUserInfo(String uid);

        void opFriend(Map map);
    }
}